<!DOCTYPE html>

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>宽带组 : 添加本周周报</title>

  <link href="../../css/bootstrapmin.css" rel="stylesheet" media="screen">
  <link href="../../css/style.css" rel="stylesheet">
 <script type="text/javascript" src="../../js/header.js"></script>



  
</head>
<?php
require("header.php");?>

<!-- end of header -->

<div id= "achievement">
<?php
	require("../../DBops.php");
	session_start();
	$con = connect("localhost", "root", "", "lab");
	$result = query($con, "*", "personalinfo", "ID", $_SESSION['user']);
	$row = mysql_fetch_array($result);
	
	
	if(isset($_SESSION['user']))
	{
		echo "<div style='height:30px;background:#A4D3EE;'>
		      
              <p  style='margin-right:10px;float:right;'>登录为: <a href = \"../../infor.php?id=".$_SESSION['user']."\">".$_SESSION['user']."</a></font>&nbsp&nbsp
			  <a  onclick=\"if(confirm('确定要退出系统吗?')){parent.location.href ='../../logout.php'}\" href=\"javascript:void(0)\">退出</a></font></p></div>";
	}
	
?>

<div id= "achievement" style="height:500px;">

<div style="width:560px;height:500px;margin-left:25px;">
<br/>
    <p>&nbsp;<font color='blue' size='4'><?php echo $row['name'];?>您好，请添加本周周报</font></p>
	   <br/>
<form action="saveWR.php?type=add"  method="post" name="" >
		<p><strong>已完成工作:</strong></p>
		<textarea name="havedonevalue" cols="90" rows="4" wrap="physical" style="width:500px;" ></textarea>
		<p><strong>未完成工作:</strong></p>
		<textarea name="notyetvalue" cols="90" rows="4" wrap="physical" style="width:500px;" ></textarea>
		<p><strong>工作计划:</strong></p>
		
		<textarea name="plan" cols="90" rows="4" wrap="physical" style="width:500px;" ></textarea><br/>
	<input type="submit" value="提交" style="background:pink;color:blue;"><br/>



	
<br/>
</form>
</div>
</div>
</body>

</html>
